how to make a request spec for an API controller with rails